package com.yuyou.weixin.mapper;

import com.yuyou.weixin.entity.FnWxSrsUser;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FnWxSrsUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FnWxSrsUser record);

    FnWxSrsUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FnWxSrsUser record);

    FnWxSrsUser selectByOpenId(@Param(value = "openId") String openId , @Param(value = "projectCode") String projectCode);

    String getMaxExclusiveCode(@Param(value = "projectCode") String projectCode);
}